home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / ftn / patch.z / patch
Encoding:
Text File  |  1998-10-20  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ppppaaaattttcccchhhh((((3333GGGG))))                                                            ppppaaaattttcccchhhh((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppppaaaattttcccchhhh - draws a surface patch
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ppppaaaattttcccchhhh((((ggggeeeeoooommmmxxxx,,,, ggggeeeeoooommmmyyyy,,,, ggggeeeeoooommmmzzzz))))
  13.      rrrreeeeaaaallll ggggeeeeoooommmmxxxx((((4444,,,,4444)))),,,, ggggeeeeoooommmmyyyy((((4444,,,,4444)))),,,, ggggeeeeoooommmmzzzz((((4444,,,,4444))))
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _g_e_o_m_x   expects the 4x4 matrix which contains the x coordinates of the 16
  17.              control points of the patch.
  18.  
  19.      _g_e_o_m_y   expects the 4x4 matrix which contains the y coordinates of the 16
  20.              control points of the patch.
  21.  
  22.      _g_e_o_m_z   expects the 4x4 matrix which contains the z coordinates of the 16
  23.              control points of the patch.
  24.  
  25. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.      ppppaaaattttcccchhhh draws a surface patch using the current ppppaaaattttcccchhhhbbbb, ppppaaaattttcccchhhhpppp, and ppppaaaattttcccchhhhcccc
  27.      which are defined earlier.  The control points _g_e_o_m_x, _g_e_o_m_y, _g_e_o_m_z
  28.      determine the shape of the patch.
  29.  
  30.      The patch is drawn as a web of curve segments.  Each curve segment is
  31.      approximated by a sequence of straight lines.  All lines use the current
  32.      linestyle, which is reset prior to the first line of each curve segment,
  33.      and continues through subsequent lines in each curve segment.  Other line
  34.      modes, including depthcueing, line width, and line antialiasing, also
  35.      apply to the lines generated by ppppaaaattttcccchhhh.
  36.  
  37. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  38.      defbas, patchb, patchc, patchp, rpatch
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.